package com.lnsf.bookstore.system.book.dao;

import com.lnsf.bookstore.common.dao.BaseDao;
import com.lnsf.bookstore.system.book.vo.Book;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BookMapper extends BaseDao<Book> {

    int updateByPrimaryKeyWithBLOBs(Book record);

    List<Book> selectAll();

    Book selectBookByDetailId(Integer orderDetailId);

}